<!DOCTYPE html>
<!-- 
Template Name: Metronic - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.0
Version: 1.5.2
Author: KeenThemes
Website: http://www.keenthemes.com/
Purchase: http://themeforest.net/item/metronic-responsive-admin-dashboard-template/4021469?ref=keenthemes
-->
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
    <!-- BEGIN HEAD -->
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
        <title><?php echo $title ?></title>
        <meta name="description" content="Backoffice de Faunio. Podr&aacute;s gestionar tus anuncios, tu blog y tener conocimiento de todo lo que pasa con ellos." />
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="keywords" content="Backoffice faunio" />
        <meta name="author" content="" />
        <meta name="MobileOptimized" content="320">
        <!-- BEGIN GLOBAL MANDATORY STYLES -->          
        <link href="<?= base_url(PLUGINS) ?>/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>
        <link href="<?= base_url(PLUGINS) ?>/bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>
        <link href="<?= base_url(PLUGINS) ?>/uniform/css/uniform.default.css" rel="stylesheet" type="text/css"/>
        <!-- END GLOBAL MANDATORY STYLES -->
        <!-- BEGIN PAGE LEVEL PLUGIN STYLES --> 
        <link href="<?= base_url(PLUGINS) ?>/bootstrap-daterangepicker/daterangepicker-bs3.css" rel="stylesheet" type="text/css" />
        <link href="<?= base_url(PLUGINS) ?>/fullcalendar/fullcalendar/fullcalendar.css" rel="stylesheet" type="text/css"/>
        <link href="<?= base_url(PLUGINS) ?>/jquery-easy-pie-chart/jquery.easy-pie-chart.css" rel="stylesheet" type="text/css"/>
        <!-- END PAGE LEVEL PLUGIN STYLES -->
        <!-- BEGIN THEME STYLES --> 
        <link href="<?= base_url(CSSBACK) ?>/style-metronic.css" rel="stylesheet" type="text/css"/>
        <link href="<?= base_url(CSSBACK) ?>/style.css" rel="stylesheet" type="text/css"/>
        <link href="<?= base_url(CSSBACK) ?>/style-responsive.css" rel="stylesheet" type="text/css"/>
        <link href="<?= base_url(CSSBACK) ?>/plugins.css" rel="stylesheet" type="text/css"/>
        <link href="<?= base_url(CSSBACK) ?>/pages/tasks.css" rel="stylesheet" type="text/css"/>
        <link href="<?= base_url(CSSBACK) ?>/themes/default.css" rel="stylesheet" type="text/css" id="style_color"/>
        <link href="<?= base_url(CSSBACK) ?>/custom.css" rel="stylesheet" type="text/css"/>
        <!-- END THEME STYLES -->
        <script src="<?= base_url(PLUGINS) ?>/jquery-1.10.2.min.js" type="text/javascript"></script>
        <!-- extra js-->
        <?php foreach ($javascript1 as $js): ?>
            <script src="<?= base_url($js) ?>" type="text/javascript"></script>
        <?php endforeach; ?>

        <link rel="shortcut icon" href="favicon.ico" />
    </head>
    <!-- END HEAD -->
    <!-- BEGIN BODY -->
    <body class="page-header-fixed">
        <?= $body ?>
        <!-- END FOOTER -->
        <!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->
        <!-- BEGIN CORE PLUGINS -->   
        <!--[if lt IE 9]>
        <script src="<?= base_url(PLUGINS) ?>/respond.min.js"></script>
        <script src="<?= base_url(PLUGINS) ?>/excanvas.min.js"></script> 
        <![endif]-->   
        <script src="<?= base_url(PLUGINS) ?>/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>   
        <!-- IMPORTANT! Load jquery-ui-1.10.3.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->
        <script src="<?= base_url(PLUGINS) ?>/jquery-ui/jquery-ui-1.10.3.custom.min.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/bootstrap-hover-dropdown/twitter-bootstrap-hover-dropdown.min.js" type="text/javascript" ></script>
        <script src="<?= base_url(PLUGINS) ?>/jquery-slimscroll/jquery.slimscroll.min.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/jquery.blockui.min.js" type="text/javascript"></script>  
        <script src="<?= base_url(PLUGINS) ?>/jquery.cookie.min.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/uniform/jquery.uniform.min.js" type="text/javascript" ></script>
        <!-- END CORE PLUGINS -->
        <!-- BEGIN PAGE LEVEL PLUGINS -->
        <script src="<?= base_url(PLUGINS) ?>/flot/jquery.flot.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/flot/jquery.flot.resize.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/jquery.pulsate.min.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/bootstrap-daterangepicker/moment.min.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/bootstrap-daterangepicker/daterangepicker.js" type="text/javascript"></script>     
        <!-- IMPORTANT! fullcalendar depends on jquery-ui-1.10.3.custom.min.js for drag & drop support -->
        <script src="<?= base_url(PLUGINS) ?>/fullcalendar/fullcalendar/fullcalendar.min.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/jquery-easy-pie-chart/jquery.easy-pie-chart.js" type="text/javascript"></script>
        <script src="<?= base_url(PLUGINS) ?>/jquery.sparkline.min.js" type="text/javascript"></script>  
        <!-- END PAGE LEVEL PLUGINS -->
        <!-- BEGIN PAGE LEVEL SCRIPTS -->
        <!-- extra CSS-->
        <?php foreach ($css as $c): ?>
            <link rel="stylesheet" href="<?= base_url($c) ?>" type="text/css">
        <?php endforeach; ?>
        <!-- extra js-->
        <?php foreach ($javascript2 as $js): ?>
            <script src="<?= base_url($js) ?>" type="text/javascript"></script>
        <?php endforeach; ?>
        
        <script src="<?= base_url(SCRIPTSBACK) ?>/app.js" type="text/javascript"></script>
        <script src="<?= base_url(SCRIPTSBACK) ?>/index.js" type="text/javascript"></script>
        <script src="<?= base_url(SCRIPTSBACK) ?>/tasks.js" type="text/javascript"></script>        
        <!-- END PAGE LEVEL SCRIPTS -->  
        <script>
            jQuery(document).ready(function() {
                App.init(); // initlayout and core plugins
                Index.init();
                Index.initCalendar(); // init index page's custom scripts
                Index.initCharts(); // init index page's custom scripts
                Index.initChat();
                Index.initMiniCharts();
                Index.initDashboardDaterange();
                Tasks.initDashboardWidget();
            });
        </script>
        <!-- END JAVASCRIPTS -->
    </body>
    <!-- END BODY -->
</html>